Class File

Summary

Fully Qualified Name: Laminas\Mail\Storage\Message\File
Extends: File
Implements: MessageInterface

Description

Methods

Name Description Defined By
__construct() Public constructor File
getFlags() get all set flags File
getTopLines() return toplines as found after headers File
hasFlag() check if flag is set File

Method Details

__construct()

Public constructor

In addition to the parameters of Laminas\Mail\Storage\Part::__construct() this constructor supports:

Parameter Name Type Description
$params array

Returns:

getFlags()

get all set flags

Returns: array array with flags, key and value are the same for easy lookup

getTopLines()

return toplines as found after headers

Returns: string toplines

hasFlag()

check if flag is set

Parameter Name Type Description
$flag mixed a

Returns: bool true if set, otherwise false

Top